package entity

// ToolMulticastChannel 表示组播频道的信息
type ToolMulticastChannel struct {
	Id                  int    `json:"id" gorm:"primaryKey;autoIncrement;comment:id"`
	Channel             string `json:"channel" gorm:"column:channel;type:varchar(255);comment:频道名"`
	URL                 string `json:"url" gorm:"column:url;type:varchar(255);comment:频道url"`
	MulticastPlatformID int    `json:"multicastPlatformId" gorm:"column:multicast_platform_id;type:int;comment:组播平台id"`
}

func (ToolMulticastChannel) TableName() string {
	return "tool_multicast_channel"
}
